<div class="m-container"  ng-controller="editRelationController">
    <div  class="m-editRelation dfc" scroll-down2>
        <div class="cInfoHead dfc aic jsc ">
            <div class="cheadPic dfr aic jsc"><img ng-src="{{item.avatar?item.avatar:'common/img/user/headPic-2.png'}}" class=" w100"/></div>
            <span class="c66">{{$parent.customerName}}</span>
        </div>
        <div class="relationContent ">
            <div class="dfr fww aic jsfs">
            <li class="cRelationItem dfr aic jssa" ng-repeat="item in $parent.relationList">
                <div class="cHeaderpic"><img ng-src="{{item.avatar?item.avatar:defaultHeadPic}}" class=" w100"/>
                </div>
                <div class="cbaseInfo dfc jssa aic">
                    <div class="w100 dfc jssa">
                        <div><span class="c7f">姓名:</span><span>{{item.customerName}}</span></div>
                        <div ><span class="c7f">关系:</span><span>{{item.relationName}}</span></div>
                    </div>

                    <div class="c7f dfr aic jsc deleteRel " ng-click="deleteRelation(item.relationId)"><div class="deleteBtn"></div><span class=" f10 delText">删除关系</span></div>
                </div>
            </li>
            </div>
        </div>
        <div class="sum dfr jsc aic cbmain" ng-click="newRelationAct()"   >
            <div class="f16 cff" >
                +新增关系
            </div>
        </div>
    </div>
    <div ng-include="'components/client/editRelation/addRelationModal.html'" ng-show="addRelation" class="addRelation {{(modalTag =='addRelationModal')?modalStatus?modalStatus:'modal-hide':'modal-hide' }}"></div>
    <div ng-include="'components/client/editRelation/inputRelationModal.html' " ng-show="inputRelation" class="{{(modalTag =='inputRelationModal')?modalStatus?modalStatus:'modal-hide':'modal-hide' }}" ></div>
</div>